﻿//PlazaOrdersLogDerivativeColumns.cs
//Copyright (c) 2013 StockSharp LLC, all rights reserved.
//This code module is part of StockSharp library.
//This code is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
//See the file License.txt for the license details.
//More info on: http://stocksharp.com

namespace StockSharp.Plaza.Metadata
{
	/// <summary>
	/// Колонки таблиц, содержащие журнал заявки и сделки.
	/// </summary>
	public abstract class PlazaOrdersLogDerivativeColumns : PlazaOrdersDerivativeColumns
	{
		internal PlazaOrdersLogDerivativeColumns(string tableId)
			: base(tableId)
		{
			DealId = new PlazaColumn(TableId, "id_deal", typeof(long), false);
			DealPrice = new PlazaColumn(TableId, "deal_price", "d16.5", false);
		}

		/// <summary>
		/// Идентификатор сделки по данной записи журнала заявок.
		/// </summary>
		public readonly PlazaColumn DealId;

		/// <summary>
		/// Цена заключенной сделки.
		/// </summary>
		public readonly PlazaColumn DealPrice;
	}
}